import Vue from 'vue'
import App from './App.vue'
// 按需加载：参考：https://www.antdv.com/docs/vue/use-with-vue-cli-cn/
import { Button, Checkbox, Input, Radio, Select, message } from 'ant-design-vue'
import router from './router'

// 全局样式
import '@/assets/styles/basic.less'
import '@/assets/styles/global.less'
import '@/assets/styles/atom.less'

Vue.component(Button.name, Button)
Vue.component(Checkbox.name, Checkbox)
Vue.use(Input)
Vue.use(Radio)
Vue.use(Select)
Vue.prototype.$message = message

Vue.config.productionTip = false

new Vue({
  router,
  render: (h) => h(App),
}).$mount('#app')
